package com.ymt.bpm.service.engine.taskcenter;

import com.alibaba.fastjson.JSONObject;

/**
 * Created by Johnny on 2017/4/14.
 */
public interface TaskQueryService {

    JSONObject todoBpdGroupCount(String tenantId, String loginName, String status, String search, int limit);

    JSONObject getRelatedBpd(String tenantId, String relation, String loginName, String search, int limit);

    JSONObject todos(String tenantId, String loginName, String bpdId, String search, String filter,
                     String order, String sort, int offset, int limit, String lang, int timezoneOffset);

    JSONObject queryList(String tenantId, String queryName, String loginName, JSONObject queryParams);

    JSONObject getDonesByPiId(String tenantId, String piId, String lang, int timezoneOffset);

    JSONObject getSeqflowByPiId(String tenantId, String status, String piId, String lang, int timezoneOffset);

}
